package com.qf.dao;

import com.qf.pojo.Passenger;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PassengerDao {
    List<Passenger> queryAll(Map<String,Object> map);

    Passenger selectByNameAndId(@Param("id") int id, @Param("name") String name);
}
